
<ul class="nav nav-tabs" style='margin: 25px 0px;' >
    <li role="presentation"><a href="{{ url_for('admin.account_list') }}">列表</a></li>
    <li role="presentation"><a href="{{ url_for('admin.account_edit') }}">新建·编辑</a></li>
</ul>
<script>
$('ul.nav-tabs li a').each(function(i, item) {
    if (item.href == window.location.protocol + '//' + window.location.host + window.location.pathname) {
        $(item).parent('li').addClass('active')
    }
})
</script>
